﻿namespace HutongGames.PlayMaker
{
    using System;

    [AttributeUsage(AttributeTargets.Field)]
    public sealed class HasFloatSliderAttribute : Attribute
    {
        private readonly float maxValue;
        private readonly float minValue;

        public HasFloatSliderAttribute(float minValue, float maxValue)
        {
            this.minValue = minValue;
            this.maxValue = maxValue;
        }

        public float MaxValue
        {
            get
            {
                return this.maxValue;
            }
        }

        public float MinValue
        {
            get
            {
                return this.minValue;
            }
        }
    }
}

